package com.unicom.office.node;

import com.unicom.office.type.TypeItem;
import com.unicom.office.type.WorksheetTypeItem;
import com.unicom.office.unit.OfficeUnit;
import com.unicom.office.unit.WorksheetUnit;

public class WorksheetNode extends TableNode {

    public WorksheetNode(Object source) {
        super(source);
    }

    public OfficeUnit createUnit() {
        return new WorksheetUnit();
    }

    public TypeItem getType() {
        return WorksheetTypeItem.INSTANCE;
    }
}
